<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    .container{
        margin:0 auto;
        width:600px;
        height:600px;
        background-color:green;
        display:flex;
        flex-direction:column;
        justify-content:space-between;
    }
    .container .box{
        display: flex;
        justify-content: space-between;
    }
    .container .box span{
        width: 100px;
        height: 100px;
        background-color: pink;
    }
</style>
<body>
    <div class="container">
       <div class="box">
           <span></span>
           <span></span>
       </div>
       <div class="box">
        <span></span>
        <span></span>
    </div>
    </div>
</body>
